<?php

namespace models\Exception\Business;

use Exception;


class AlibabacategoryException extends Exception {

    const ALIBABACATEGORY_IS_NOT_EXISTS = '1688商品分类不存在';
    const ALIBABACATEGORY_IS_NOT_EXISTS_NO = '400';

    const ALIBABACATEGORY_CREATE_FAILURE = '1688商品分类创建失败';
    const ALIBABACATEGORY_CREATE_FAILURE_NO = '422';

    const ALIBABACATEGORY_EDIT_FAILURE = '1688商品分类编辑失败';
    const ALIBABACATEGORY_EDIT_FAILURE_NO = '422';

    const ALIBABACATEGORY_ID_IS_EMPTY = '1688商品分类编号不能为空';
    const ALIBABACATEGORY_ID_IS_EMPTY_NO = '400';

    const ALIBABACATEGORY_INVALID_PARENT = "上级分类不能是一个允许添加商品的分类";
    const ALIBABACATEGORY_INVALID_PARENT_NO = "400";

    const ALIBABACATEGORY_ICON_NOT_EXISTS = "icon上传失败";
    const ALIBABACATEGORY_ICON_NOT_EXISTS_NO = "400";

}
